package tool.model;


import java.util.List;

/**
 * @Description:
 * @Author: guodh
 * @Date: 2022/10/9
 */
public class PageBean<T> {

    private long total = 0;

    private List<T> list;

    public PageBean() {
        super();
    }

    public PageBean(long total, List<T> list) {
        this.total = total;
        this.list = list;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
